package com.xlh.dokka.svc.core.scheduler.strategy;



import com.xlh.dokka.svc.core.model.ContainerConfig;
import com.xlh.dokka.svc.core.model.GpuNode;
import com.xlh.dokka.svc.core.model.Node;

import java.util.List;

/**
 * @author cheer
 */
public interface Strategy {

    List<Node> rankAndSort(ContainerConfig config, List<Node> nodes);

    List<GpuNode> rankAndSortGpu(ContainerConfig config, List<GpuNode> gpuNodes);
}
